package cn.iocoder.yudao.module.system.dal.dataobject.chaoshun;

import cn.iocoder.yudao.framework.tenant.core.db.TenantBaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.time.LocalDateTime;

/**
 * 
 * @TableName chaoshun_sp
 */
@TableName(value ="chaoshun_sp")
@Data
@KeySequence("chaoshunsp_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@EqualsAndHashCode(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ChaoshunSpDO extends TenantBaseDO {
    /**
     * 
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 
     */
    @TableField(value = "spmc")
    private String spmc;

    /**
     * 
     */
    @TableField(value = "fhr")
    private String fhr;

    /**
     * 收货地址
     */
    @TableField(value = "shdz")
    private String shdz;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;


    /**
     * 收货电话
     */
    @TableField(value = "shdh")
    private String shdh;

    /**
     *
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 是否上门
     */
    @TableField(value = "sfsm")
    private Integer sfsm;

    /**
     * 运单号
     */
    @TableField(value = "ydh")
    private String ydh;

    /**
     * 收货人
     */
    @TableField(value = "shr2")
    private String shr2;

    /**
     * 件数
     */
    @TableField(value = "js")
    private Integer js;

    /**
     * 运费
     */
    @TableField(value = "yf")
    private String yf;

    /**
     * 运费支付方式
     */
    @TableField(value = "yffs")
    private Integer yffs;

    /**
     * 货款
     */
    @TableField(value = "hk")
    private String hk;

    /**
     * 货款支付方式
     */
    @TableField(value = "hkfs")
    private Integer hkfs;

    /**
     * 发货电话
     */
    @TableField(value = "fhdh")
    private String fhdh;

    /**
     * 是否打印凭证
     */
    @TableField(value = "sfdypz")
    private String sfdypz;

    /**
     * 商品状态
     */
    @TableField(value = "spzt")
    private Integer spzt;

    /**
     * 录入时间
     */
    @TableField(value = "lrsj")
    private LocalDateTime lrsj;

    /**
     * 延迟次数
     */
    @TableField(value = "yccs")
    private Integer yccs;

    /**
     *是否返货
     */
    @TableField(value = "sffh")
    private Integer sffh;

    /**
     *是否补录
     */
    @TableField(value = "sfbl")
    private Integer sfbl;

    /**
     * 送货人
     */
    @TableField(value = "songhr")
    private String songhr;

    /**
     * 送货费
     */
    @TableField(value = "shf")
    private String shf;

    /**
     * 送货提成
     */
    @TableField(value = "shtc")
    private String shtc;

    /**
     * 收发物流
     */
    @TableField(value = "sfwl")
    private String sfwl;

    /**
     * 物流地址
     */
    @TableField(value = "wldz")
    private String wldz;

    /**
     * 安排送货时间
     */
    @TableField(value = "apshsj")
    private LocalDateTime apshsj;

}